package com.yn.xgame;

/**
 * MqMsgId
 * Mq使用Bean通信时，标记的消息类型
 * Created by wangboo on 17/7/13.
 */
public class MqMsgId {

    // 网关发来的，玩家断开事件，useProp{sid: 玩家sessionId}
    public static final String gate_user_disconnect = "gate.user.disconnect";
    // 通用MQ之间查询(使用redis代替？)
    @Deprecated
    public static final String common_query = "common.query";
    // 玩家通过 logic 向 gamecenter 查询某个游戏大厅情况body: {game: 子游戏名, sid, gate}
    public static final String gamecenter_info_query = "gc.info";
    // 玩家进入某房间 body: GameCenterEnterRoom{game,子游戏，room: id, player: RoomPlayer}

    // 玩家离开某房间 PlayerLeave, gamecenter, game 可能都会收到
    public static final String common_player_leave = "common.player.leave";
    // 游戏开始应答 CommonGameStartNotice Game -> GameCenter, logic
    public static final String common_player_game_start_notice = "common.pgsn";
    // 游戏结束应答 CommonGameFinishNotice Game -> GameCenter, logic
    // 预留，现在逻辑是放在玩家退出游戏中的
    @Deprecated
    public static final String common_player_game_finish_notice = "common.pgfn";
    // 游戏中，金币发生变化 GameGoldChanged
    public static final String g2l_player_gold_changed = "g2l.player.gold";

    // 游戏开始 GameStart
    public static final String gc2g_start_game = "gc2g.start";


    // 捕鱼，玩家进入捕鱼游戏 GCFishEnterTable
    public static final String l2gc_fish_enter_table = "l2gc.fish.enter";
    // 游戏中途加入 GameJoinTable
    public static final String gc2g_game_join_game = "gc2g.game.join";





}

